00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef __LIBATRAC3_H__
00013 #define __LIBATRAC3_H__
00014
00015 #ifdef __cplusplus
00016 extern "C" {
00017 #endif
00018
00027 int sceAtracSetDataAndGetID(void *buf, SceSize bufsize);
00028
00043 int sceAtracDecodeData(int atracID, u16 *outSamples, int *outN, int *outEnd, int *outRemainFrame);
00044
00055 int sceAtracGetRemainFrame(int atracID, int *outRemainFrame);
00056
00066 int sceAtracGetBitrate(int atracID, int *outBitrate);
00067
00077 int sceAtracSetLoopNum(int atracID, int nloops);
00078
00087 int sceAtracReleaseAtracID(int atracID);
00088
00098 int sceAtracGetNextSample(int atracID, int *outN);
00099
00109 int sceAtracGetMaxSample(int atracID, int *outMax);
00110
00111 #ifdef __cplusplus
00112 }
00113 #endif
00114
00115 #endif